<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="__CSS__/advinfo.css">
		<script type="text/javascript" src="__JS__/jquery-3.6.0.min.js"></script>
		<script type="text/javascript" src="__JS__/jquery.validate.min.js"></script>
		<script type="text/javascript">
		    $(document).ready(function(){
		        $("#menu_pop_out").hide();
		        $("#pop_out_father").mouseover(function(){
		            $("#menu_pop_out").show();
		        });
		        $("#pop_out_father").mouseout(function(){
		            $("#menu_pop_out").hide();
		        });
		    });
		</script>
	</head>
	<body>
		<div>
			<!-- 顶部 -->
				<div class="top">
					<img src="__IMG__/tx.jpg" />
					<span class="top-1">论坛后台管理</span>
					<span class="top-2">欢迎您：{:session('uName')}</span>
				</div>
			<!-- 导航栏 -->
				<div class="navbar">
					<ul>
						<li><a href="{:url('deal/mesdeal')}">帖子管理</a></li>
						<li><a href="{:url('deal/userdeal')}">用户管理</a></li>
						<li><a href="{:url('deal/secdeal')}">版块管理</a></li>
						<li><a href="{:url('deal/bindeal')}">回收站管理</a></li>
						<li><a href="{:url('advdeal/advdeal')}">广告管理</a></li>
						<li><a href="{:url('advdeal/boxdeal')}">轮播图管理</a></li>
						<li><a href="{:url('admin/apa')}">修改密码</a></li>
						<li><a href="{:url('admin/alogout')}">注销</a></li>
						<li><a href="/mamx28/public/index.php/mamx_forum/Mamx">论坛前台</a></li>
					</ul>
				</div>
				<!-- 修改广告信息区域 -->
				<div class="advinfo">
					<form action="{:url('advdeal/advinfomodi',['aid'=>input('aid')])}" method="post" enctype="multipart/form-data">
						<table>
							{volist name='adv' id='advRow'}
							<tr>
								<td class="infotitle">广 告 图 片</td>
								<td class="modi">
									<div class="infomodi">
										<!-- 原图片 -->
										<div class="up">
											<span>原图片：</span>
											<img src="__UPLOAD__/{$advRow.a_img}">
										</div>
										<!-- 修改图片 -->
										<input type="file" class="file" name="aimg">
										<span>图片尺寸建议：宽度为225px，高度为65px~75px</span>
									</div>
								</td>
							</tr>
							<tr>
								<td class="infotitle">广 告 标 题</td>
								<td class="modi">
									<div class="infomodi">
										<span>原广告标题：{$advRow.a_title}</span>
										<input name="atitle" type="text" value="输入新的广告标题" class="in">
									</div>
								</td>
							</tr>
							<tr>
								<td class="infotitle">广 告 备 注</td>
								<td class="modi">
									<div class="infomodi">
										<span>原备注：{$advRow.a_content}</span>
										<textarea name="acontent"></textarea>
										<span>最多255个字符</span>
									</div>
								</td>
							</tr>
							<tr>
								<td class="infotitle">广告指向地址</td>
								<td class="modi">
									<div class="infomodi">
										<span>原地址：{$advRow.a_mid}</span>
										<input name="apath" type="text" class="in">
									</div>
								</td>
							</tr>
							<tr>
								<td colspan="2">
									<button type="submit" class="return">修 改</button>
								</td>
							</tr>
							{/volist}
						</table>
					</form>
				</div>
			</div>
	</body>
</html>
